package com.xyazm.user.domain.vo;

import com.xyazm.user.domain.entity.UserMenuDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class UserInfoVO {

    @ApiModelProperty(value = "登录人姓名")
    private String username;
    @ApiModelProperty(value = "登录人头像")
    private Object icon;
    @ApiModelProperty(value = "登录人所拥有的角色名称")
    private List<String> roles;
    @ApiModelProperty(value = "登录人所拥有的菜单权限")
    private List<UserMenuDO> menus;

}
